package com.zhiche.lisa.tms.dao.model.bo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.util.Date;
import java.util.List;

public class ShipTaskBo {

    @JsonSerialize(using=ToStringSerializer.class)
    private Long id;

    /**
     * 运输任务编号
     */
    private String taskCode;

    /**
     * 运单编号
     */
    private String shipOrderCode;

    /**
     * 要求任务开始时间
     */
    private Date gmtExpectStart;

    /**
     * 要求任务结束时间
     */
    private Date gmtExpectFinish;

    /**
     * 任务起运地
     */
    private String startAddress;

    /**
     * 任务目的地
     */
    private String endAddress;

    /**
     * 起点对应的location code
     */
    private String originLocationCode;

    /**
     * 终点对应的location code
     */
    private String destLocationCode;

    /**
     * 运抵时间
     */
    private Date gmtFinish;

    /**
     * 装车确认的时间
     */
    private Date gmtStart;

    /**
     * 订单明细
     */
    private List<ShipOrderItemBo> shipOrderItemBos;

    /**
     * 订单明细汇总
     */
    private List<ShipOrderItemCountBo> shipOrderItemCountBos;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTaskCode() {
        return taskCode;
    }

    public void setTaskCode(String taskCode) {
        this.taskCode = taskCode;
    }

    public Date getGmtExpectStart() {
        return gmtExpectStart;
    }

    public void setGmtExpectStart(Date gmtExpectStart) {
        this.gmtExpectStart = gmtExpectStart;
    }

    public Date getGmtExpectFinish() {
        return gmtExpectFinish;
    }

    public void setGmtExpectFinish(Date gmtExpectFinish) {
        this.gmtExpectFinish = gmtExpectFinish;
    }

    public String getStartAddress() {
        return startAddress;
    }

    public void setStartAddress(String startAddress) {
        this.startAddress = startAddress;
    }

    public String getEndAddress() {
        return endAddress;
    }

    public void setEndAddress(String endAddress) {
        this.endAddress = endAddress;
    }

    public List<ShipOrderItemBo> getShipOrderItemBos() {
        return shipOrderItemBos;
    }

    public void setShipOrderItemBos(List<ShipOrderItemBo> shipOrderItemBos) {
        this.shipOrderItemBos = shipOrderItemBos;
    }

    public String getShipOrderCode() {
        return shipOrderCode;
    }

    public void setShipOrderCode(String shipOrderCode) {
        this.shipOrderCode = shipOrderCode;
    }

    public String getOriginLocationCode() {
        return originLocationCode;
    }

    public void setOriginLocationCode(String originLocationCode) {
        this.originLocationCode = originLocationCode;
    }

    public String getDestLocationCode() {
        return destLocationCode;
    }

    public void setDestLocationCode(String destLocationCode) {
        this.destLocationCode = destLocationCode;
    }

    public List<ShipOrderItemCountBo> getShipOrderItemCountBos() {
        return shipOrderItemCountBos;
    }

    public void setShipOrderItemCountBos(List<ShipOrderItemCountBo> shipOrderItemCountBos) {
        this.shipOrderItemCountBos = shipOrderItemCountBos;
    }

    public Date getGmtFinish() {
        return gmtFinish;
    }

    public void setGmtFinish(Date gmtFinish) {
        this.gmtFinish = gmtFinish;
    }

    public Date getGmtStart() {
        return gmtStart;
    }

    public void setGmtStart(Date gmtStart) {
        this.gmtStart = gmtStart;
    }
}
